package com.tooltest;

import java.util.HashMap;
import java.util.Map;

import org.apache.commons.lang.builder.ToStringBuilder;

public class TestToStringBuilder {
	public static void main(String[] args) {
		Map<String, Object> testMap = new HashMap<String, Object>();
		testMap.put("ok", true);
		testMap.put("age", 23);
		
		Map<String, Object> testMapInner = new HashMap<String, Object>();
		testMapInner.put("testStr", "testStr");
		testMapInner.put("number", 90L);
		
		testMap.put("testMapInner", testMapInner);
		
		System.out.println(ToStringBuilder.reflectionToString(testMap));
	}
}
